package com.dlc.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlc.shop.bean.model.NoticeTag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公告用户标签关联信息
 * @author LGH
 */
public interface NoticeTagMapper extends BaseMapper<NoticeTag> {


    /**
     * 通过用户获取用户可以看到的公告ids
     *
     * @param userId
     * @return
     */
    List<Long> listNoticeIdByUserId(@Param("userId") String userId);
}
